// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import MainBody from './components/MainBody'
import axios from 'axios'
import $ from 'jquery'
import iView from 'iview'
import 'iview/dist/styles/iview.css'


axios.defaults.withCredentials=true

Vue.prototype.$http = axios

Vue.use(iView)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#mainbody',
  template: '<MainBody/>',
  components: { MainBody }
})
